const Router = require('koa-router');
const router = new Router();

// 验证身份
const { authMiddleware, authorizeAdmin } = require('../middlewares/authMiddleware')
const { unifiedOrder } = require('../controllers/paymentController')

// 统一下单
router.post('/unifiedorder', unifiedOrder )

// 查询订单
router.post('/orderquery', )

// 订单退款
router.post('/refund', )

// 查询退款
router.post('/refundquery', )

module.exports = router